package cn.s1995.sloth.bizs.service;

import cn.s1995.sloth.bizs.entity.PayFlow;
import com.baomidou.mybatisplus.extension.service.IService;

public interface PayFlowService extends IService<PayFlow> {


    /**
     * 获取支付流水
     * @param payFlowId 支付流水id
     * @return
     */
    PayFlow getPayFlow(String payFlowId);

    /**
     * 获取支付流水
     * @param transactionId 第三方交易号
     * @return
     */
    PayFlow getPayFlowByTransactionId(String transactionId);

}
